#define _CRT_SECURE_NO_WARNINGS 1
#include "AVLTree.h"
int main()
{
	int a[] = { 6 ,2 ,3 ,7 ,8 ,9, 40, 20 ,60, 559, 11, 1, 23};
	AVLTree<int, int> s;
	for (auto e : a) {
		s.insert({ e,e + 1 });
	}
	s.InOrder();
	cout << endl;
	cout <<  s.IsAVLTree() << " ";
}
